package com.jiudengnile.dr.biz.common;

import java.util.Calendar;
import java.util.Date;

public class DateTool {
	
	public static Date the0clock(Date input) {
		Calendar cal = Calendar.getInstance();
		cal.setTime(input);
		cal.set(Calendar.HOUR_OF_DAY, 0);
		cal.set(Calendar.MINUTE, 0);
		cal.set(Calendar.SECOND, 0);
		cal.set(Calendar.MILLISECOND, 0);
		return cal.getTime();
	}

}
